package com.wu.springcloud.service;

import com.wu.springcloud.pojo.Dept;

import java.util.List;

/**
 * @author 武爸爸
 * @create 2020-09-26 15:50
 */

public interface DeptService {
    //增加部门
    public boolean addDept(Dept dept);

    //根据id查询
    public Dept queryById(Long id);

    //查询全部
    public List<Dept> queryAll();
}
